package com.myalias.pong;

import android.app.Activity;
import android.os.Bundle;
import android.widget.Toast;
import android.util.Log;

import com.myalias.adapters.*;

public class VPongActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
    
    @Override
    public void onStart(){
    	super.onStart();

    	try{
    		Log.i("Info", "Starting adapter");
    		BAdapter adapter = new BAdapter(this); 
    	
    		adapter.Initialize();
    	}catch(Exception ex) {
    		Log.e("Error", ex.getMessage());
    		Toast.makeText(this, ex.getMessage(), Toast.LENGTH_LONG);
    	}
    	
    }
}